Skip to content

Conversation

pascalbaljet
Copy link
Member

This PR gives you the ability to share validation errors as an array instead of a string (per field). You can do this by setting the $singleErrorPerField prop to false in the Middleware.

class HandleInertiaRequests extends Middleware
{
    protected $singleErrorPerField = false;
}

Fixes #772.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple validation errors are not populated correctly

1 participant